<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>Ananas Library: Класс aObject</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Создано системой Doxygen 1.5.6 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Титульная&nbsp;страница</span></a></li>
      <li class="current"><a href="annotated.html"><span>Классы</span></a></li>
      <li><a href="files.html"><span>Файлы</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="annotated.html"><span>Классы</span></a></li>
      <li><a href="hierarchy.html"><span>Иерархия&nbsp;классов</span></a></li>
      <li><a href="functions.html"><span>Члены&nbsp;классов</span></a></li>
    </ul>
  </div>
</div>
<div class="contents">
<h1>Класс aObject</h1><!-- doxytag: class="aObject" -->Базовый класс для невизуальных классов (моделей в терминологии MVC) Ананаса, которым необходим доступ к базе данных. Наследует QObject.  
<a href="#_details">Подробнее...</a>
<p>
<code>#include &lt;<a class="el" href="aobject_8h-source.html">aobject.h</a>&gt;</code>
<p>
<div class="dynheader">
Граф наследования:aObject:</div>
<div class="dynsection">

<p><center><img src="classaObject.png" usemap="#aObject_map" border="0" alt=""></center>
<map name="aObject_map">
<area href="classaCatalogue.html" alt="aCatalogue" shape="rect" coords="95,56,180,80">
<area href="classaCatGroup.html" alt="aCatGroup" shape="rect" coords="95,112,180,136">
<area href="classaDocJournal.html" alt="aDocJournal" shape="rect" coords="95,168,180,192">
<area href="classaDocument.html" alt="aDocument" shape="rect" coords="95,224,180,248">
<area href="classaIRegister.html" alt="aIRegister" shape="rect" coords="95,280,180,304">
<area href="classaReport.html" alt="aReport" shape="rect" coords="95,336,180,360">
<area href="classaRole.html" alt="aRole" shape="rect" coords="95,392,180,416">
<area href="classaUser.html" alt="aUser" shape="rect" coords="95,448,180,472">
</map>
</div>

<p>
<a href="classaObject-members.html">Полный список членов класса</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Открытые слоты</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual QString&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaObject.html#9298f573f8823da8eed49a40a1c2854d">Uid</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaObject.html#d5c2fb2ee16dc6218e8c88a6512a3344">IsSelected</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="4b4f67b5cd8e4f7c87253f69d70a8bbc"></a><!-- doxytag: member="aObject::IsMarkDeleted" ref="4b4f67b5cd8e4f7c87253f69d70a8bbc" args="(const QString &amp;tname=&quot;&quot;)" -->
virtual bool&nbsp;</td><td class="memItemRight" valign="bottom"><b>IsMarkDeleted</b> (const QString &amp;tname=&quot;&quot;)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="113b515a9cbfad4e41fb4160793edd5e"></a><!-- doxytag: member="aObject::IsMarked" ref="113b515a9cbfad4e41fb4160793edd5e" args="()" -->
virtual bool&nbsp;</td><td class="memItemRight" valign="bottom"><b>IsMarked</b> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b6659909c08b56618773f92cbdad383d"></a><!-- doxytag: member="aObject::SetMarkDeleted" ref="b6659909c08b56618773f92cbdad383d" args="(bool Deleted, const QString &amp;tablename=&quot;&quot;)" -->
virtual int&nbsp;</td><td class="memItemRight" valign="bottom"><b>SetMarkDeleted</b> (bool Deleted, const QString &amp;tablename=&quot;&quot;)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d7e7d440f59a3075c3716ebdc1d0aad3"></a><!-- doxytag: member="aObject::SetMarked" ref="d7e7d440f59a3075c3716ebdc1d0aad3" args="(bool Marked)" -->
virtual int&nbsp;</td><td class="memItemRight" valign="bottom"><b>SetMarked</b> (bool Marked)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaObject.html#299918a7799222ae7419ac4bcd36bb4f">New</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaObject.html#c08ed5f5f539967fe21cb2dc6f7b48db">Copy</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Создает новый объект, являющийся клоном текущего объекта.  <a href="#c08ed5f5f539967fe21cb2dc6f7b48db"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="933572282cb04418873a1659e0972d07"></a><!-- doxytag: member="aObject::Delete" ref="933572282cb04418873a1659e0972d07" args="()" -->
virtual int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaObject.html#933572282cb04418873a1659e0972d07">Delete</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Удаляет текущий объект из базы данных. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e7560ada22c8ed1433b298a61acc2602"></a><!-- doxytag: member="aObject::Update" ref="e7560ada22c8ed1433b298a61acc2602" args="()" -->
virtual int&nbsp;</td><td class="memItemRight" valign="bottom"><b>Update</b> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaObject.html#46fd9cb3cf20e9f5ad9213e750a56798">Conduct</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaObject.html#c1baa42b22e61e7ce6e0b6dce7e906de">UnConduct</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="4728853a763e37324e823887b5669428"></a><!-- doxytag: member="aObject::IsConducted" ref="4728853a763e37324e823887b5669428" args="()" -->
virtual bool&nbsp;</td><td class="memItemRight" valign="bottom"><b>IsConducted</b> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual QString&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaObject.html#f4de4cdf9da4130d8e272d3460cc9172">Kind</a> (const QString &amp;name=QString::null)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual QVariant&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaObject.html#c01de0a1f73163e50028689b0e43ce75">Value</a> (const QString &amp;name, const QString &amp;tableName=&quot;&quot;)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaObject.html#4509c2507aa3a91da36132437255a5f3">SetValue</a> (const QString &amp;name, const QVariant &amp;value, const QString &amp;tableName=&quot;&quot;)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual QVariant&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaObject.html#3a316f24b43fce162529c7b1de9ba786">sysValue</a> (const QString &amp;name, const QString &amp;tableName=&quot;&quot;)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaObject.html#0e973d8a5a9f9cf0d80dddf5368e2d04">setSysValue</a> (const QString &amp;name, QVariant value, const QString &amp;tableName=&quot;&quot;)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="31a6065cb267f5b412e15708960cd241"></a><!-- doxytag: member="aObject::SetFilter" ref="31a6065cb267f5b412e15708960cd241" args="(const QString &amp;valname, const QVariant &amp;value)" -->
virtual int&nbsp;</td><td class="memItemRight" valign="bottom"><b>SetFilter</b> (const QString &amp;valname, const QVariant &amp;value)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e749ee6e77cc5a078498d8a68324e0f9"></a><!-- doxytag: member="aObject::ClearFilter" ref="e749ee6e77cc5a078498d8a68324e0f9" args="()" -->
virtual int&nbsp;</td><td class="memItemRight" valign="bottom"><b>ClearFilter</b> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="746cc9c0d370605a8ca5d9d56f0b2bcd"></a><!-- doxytag: member="aObject::TableSetFilter" ref="746cc9c0d370605a8ca5d9d56f0b2bcd" args="(const QString &amp;tname, const QString &amp;valname, const QVariant &amp;value)" -->
virtual int&nbsp;</td><td class="memItemRight" valign="bottom"><b>TableSetFilter</b> (const QString &amp;tname, const QString &amp;valname, const QVariant &amp;value)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e326472514f98dfa36cf4817be73c2c5"></a><!-- doxytag: member="aObject::TableClearFilter" ref="e326472514f98dfa36cf4817be73c2c5" args="(const QString &amp;tname)" -->
virtual int&nbsp;</td><td class="memItemRight" valign="bottom"><b>TableClearFilter</b> (const QString &amp;tname)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="da9041f4faf0cd02f5f877a77dd8b096"></a><!-- doxytag: member="aObject::IsFiltred" ref="da9041f4faf0cd02f5f877a77dd8b096" args="()" -->
virtual bool&nbsp;</td><td class="memItemRight" valign="bottom"><b>IsFiltred</b> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaObject.html#431d20030b023364b2c52d8e9140f8b2">TableUpdate</a> (const QString &amp;tablename)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="63cff13a22c543d7cb32bec2027153bb"></a><!-- doxytag: member="aObject::displayString" ref="63cff13a22c543d7cb32bec2027153bb" args="()" -->
virtual QString&nbsp;</td><td class="memItemRight" valign="bottom"><b>displayString</b> ()</td></tr>

<tr><td colspan="2"><br><h2>Открытые члены</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaObject.html#a5d5e384d57df715ff76947b4a2f7048">aObject</a> (QObject *parent=0, const char *name=0)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaObject.html#fea7f6a4d01d2f061f851ceceb804cb9">aObject</a> (const QString &amp;oname, <a class="el" href="classaDatabase.html">aDatabase</a> *adb, QObject *parent=0, const char *name=0)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaObject.html#e7f6ceb5a6ebc203d9abe99abb540273">aObject</a> (aCfgItem context, <a class="el" href="classaDatabase.html">aDatabase</a> *adb, QObject *parent=0, const char *name=0)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaObject.html#5b37e708ff3d150464f665fd33de8c61">~aObject</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e3158d9786e2cf305a9e9c2a899cbc9f"></a><!-- doxytag: member="aObject::checkStructure" ref="e3158d9786e2cf305a9e9c2a899cbc9f" args="()" -->
virtual bool&nbsp;</td><td class="memItemRight" valign="bottom"><b>checkStructure</b> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">ERR_Code&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaObject.html#3f4c1c6a69b86b48b23fb4ee0df664e1">init</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0d40d9f04a4aaef739f23cb169ee15c0"></a><!-- doxytag: member="aObject::decodeDocNum" ref="0d40d9f04a4aaef739f23cb169ee15c0" args="(QString nm, QString &amp;pref, int &amp;num)" -->
ERR_Code&nbsp;</td><td class="memItemRight" valign="bottom"><b>decodeDocNum</b> (QString nm, QString &amp;pref, int &amp;num)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual ERR_Code&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaObject.html#0f93cd3a28e072c76fed200328847dc8">select</a> (Q_ULLONG id)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="86b7c50b1c4518f75976bc2275fa59cd"></a><!-- doxytag: member="aObject::getUid" ref="86b7c50b1c4518f75976bc2275fa59cd" args="()" -->
Q_ULLONG&nbsp;</td><td class="memItemRight" valign="bottom"><b>getUid</b> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="bd6511f77016c18285cba802bf097bed"></a><!-- doxytag: member="aObject::selected" ref="bd6511f77016c18285cba802bf097bed" args="(const QString &amp;tablename=&quot;&quot;)" -->
bool&nbsp;</td><td class="memItemRight" valign="bottom"><b>selected</b> (const QString &amp;tablename=&quot;&quot;)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c8ca51c5254d267590f9ff881606e99b"></a><!-- doxytag: member="aObject::select" ref="c8ca51c5254d267590f9ff881606e99b" args="(const QString &amp;query, const QString &amp;tableName=&quot;&quot;)" -->
ERR_Code&nbsp;</td><td class="memItemRight" valign="bottom"><b>select</b> (const QString &amp;query, const QString &amp;tableName=&quot;&quot;)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classaDataTable.html">aDataTable</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaObject.html#5c6dce84b613af7fd01d5aad409d5c38">table</a> (const QString &amp;name=&quot;&quot;)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual Q_ULLONG&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaObject.html#3b26cb66b2c22370e9c9b1f7b7142bcd">docId</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="6750768ad87bc3155658b4f20c3b2c87"></a><!-- doxytag: member="aObject::Next" ref="6750768ad87bc3155658b4f20c3b2c87" args="(const QString &amp;tableName=&quot;&quot;)" -->
virtual bool&nbsp;</td><td class="memItemRight" valign="bottom"><b>Next</b> (const QString &amp;tableName=&quot;&quot;)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a192f28ad350892362a3413d5293c8e0"></a><!-- doxytag: member="aObject::Prev" ref="a192f28ad350892362a3413d5293c8e0" args="(const QString &amp;tableName=&quot;&quot;)" -->
virtual bool&nbsp;</td><td class="memItemRight" valign="bottom"><b>Prev</b> (const QString &amp;tableName=&quot;&quot;)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0dadae054abac161d55d3db31ae130df"></a><!-- doxytag: member="aObject::First" ref="0dadae054abac161d55d3db31ae130df" args="(const QString &amp;tableName=&quot;&quot;)" -->
virtual bool&nbsp;</td><td class="memItemRight" valign="bottom"><b>First</b> (const QString &amp;tableName=&quot;&quot;)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e611b3b20bc93b2e8ea514e203d6ff24"></a><!-- doxytag: member="aObject::Last" ref="e611b3b20bc93b2e8ea514e203d6ff24" args="(const QString &amp;tableName=&quot;&quot;)" -->
virtual bool&nbsp;</td><td class="memItemRight" valign="bottom"><b>Last</b> (const QString &amp;tableName=&quot;&quot;)</td></tr>

<tr><td colspan="2"><br><h2>Открытые атрибуты</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="616688f70d1946154fa4942fbfa463c1"></a><!-- doxytag: member="aObject::md" ref="616688f70d1946154fa4942fbfa463c1" args="" -->
<a class="el" href="classaCfg.html">aCfg</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><b>md</b></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ce135585451c6bf51bc9ead4645eaa0d"></a><!-- doxytag: member="aObject::obj" ref="ce135585451c6bf51bc9ead4645eaa0d" args="" -->
aCfgItem&nbsp;</td><td class="memItemRight" valign="bottom"><b>obj</b></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="96a92b0b990a6110b2fc063145b67087"></a><!-- doxytag: member="aObject::db" ref="96a92b0b990a6110b2fc063145b67087" args="" -->
<a class="el" href="classaDatabase.html">aDatabase</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><b>db</b></td></tr>

<tr><td colspan="2"><br><h2>Защищенные члены</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="f86ad1c3f6bfe3f870487e397bb67e10"></a><!-- doxytag: member="aObject::displayStringContext" ref="f86ad1c3f6bfe3f870487e397bb67e10" args="()" -->
virtual aCfgItem&nbsp;</td><td class="memItemRight" valign="bottom"><b>displayStringContext</b> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual ERR_Code&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaObject.html#9124d3a16057a4a5430dad828cdcb1f0">setObject</a> (aCfgItem newobject)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual ERR_Code&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaObject.html#91acddea9d225d16d9fc384769971922">initObject</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="807e9a4549d8ed195ee4e46ffdf28380"></a><!-- doxytag: member="aObject::isInited" ref="807e9a4549d8ed195ee4e46ffdf28380" args="()" -->
bool&nbsp;</td><td class="memItemRight" valign="bottom"><b>isInited</b> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b3a29d4f315fad4b0bf6dcbe7286d333"></a><!-- doxytag: member="aObject::setInited" ref="b3a29d4f315fad4b0bf6dcbe7286d333" args="(bool flag)" -->
void&nbsp;</td><td class="memItemRight" valign="bottom"><b>setInited</b> (bool flag)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">ERR_Code&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaObject.html#39bf21de3669fa6481448959ad402759">tableInsert</a> (const QString &amp;dbname, aCfgItem obj, const QString &amp;name=&quot;&quot;)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">ERR_Code&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaObject.html#d4747af1afab557e9833e1ccf4bd9700">tableInsert</a> (const QString &amp;dbname, const QString &amp;name=&quot;&quot;)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">ERR_Code&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaObject.html#84a9d1fdde4acf7fe47bfd06581c6bea">tableRemove</a> (const QString &amp;name=&quot;&quot;)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual QVariant&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaObject.html#40b9704b548247e7800ef016b1ee938b">tValue</a> (const QString &amp;tablename, const QString &amp;name)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual ERR_Code&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaObject.html#8f8fb028fe53a216ea12d362e0cda3de">setTValue</a> (const QString &amp;tablename, const QString &amp;name, const QVariant &amp;value)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="626d61af8f1081313554aec48a947ee6"></a><!-- doxytag: member="aObject::trSysName" ref="626d61af8f1081313554aec48a947ee6" args="(const QString &amp;sname)" -->
virtual QString&nbsp;</td><td class="memItemRight" valign="bottom"><b>trSysName</b> (const QString &amp;sname)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c5f26d51fb52d7f3e529092f407f632e"></a><!-- doxytag: member="aObject::setSelected" ref="c5f26d51fb52d7f3e529092f407f632e" args="(bool sel, const QString &amp;tablename=&quot;&quot;)" -->
void&nbsp;</td><td class="memItemRight" valign="bottom"><b>setSelected</b> (bool sel, const QString &amp;tablename=&quot;&quot;)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ee20c194359f0f4523c2dd223cecc73c"></a><!-- doxytag: member="aObject::setTFilter" ref="ee20c194359f0f4523c2dd223cecc73c" args="(const QString &amp;tname, const QString &amp;valname, const QVariant &amp;value)" -->
virtual ERR_Code&nbsp;</td><td class="memItemRight" valign="bottom"><b>setTFilter</b> (const QString &amp;tname, const QString &amp;valname, const QVariant &amp;value)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e69c6b2a87c2ef2db016f08d75f66535"></a><!-- doxytag: member="aObject::clearTFilter" ref="e69c6b2a87c2ef2db016f08d75f66535" args="(const QString &amp;tname)" -->
virtual ERR_Code&nbsp;</td><td class="memItemRight" valign="bottom"><b>clearTFilter</b> (const QString &amp;tname)</td></tr>

<tr><td colspan="2"><br><h2>Защищенные данные</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a4e1782cd7d408a3ed63b163e345bcaf"></a><!-- doxytag: member="aObject::concrete" ref="a4e1782cd7d408a3ed63b163e345bcaf" args="" -->
bool&nbsp;</td><td class="memItemRight" valign="bottom"><b>concrete</b></td></tr>

</table>
<hr><a name="_details"></a><h2>Подробное описание</h2>
Базовый класс для невизуальных классов (моделей в терминологии MVC) Ананаса, которым необходим доступ к базе данных. Наследует QObject. 
<p>
Как правило такие классы предоставляют методы для работы с пользовательскими "объектами" типа "Журнал операций", первичный учетный документ "Приходная накладная", "Справочник товаров", "Элемент справочника товаров" и др.<p>
Для доступа к данным базы данных через методы такого объекта сначала необходимо создать объект, указав в параметре вызова конструктора имя элемента метаданных, описывающего модель данных объекта, затем вызвать метод <a class="el" href="classaObject.html#299918a7799222ae7419ac4bcd36bb4f">New()</a>. <hr><h2>Конструктор(ы)</h2>
<a class="anchor" name="a5d5e384d57df715ff76947b4a2f7048"></a><!-- doxytag: member="aObject::aObject" ref="a5d5e384d57df715ff76947b4a2f7048" args="(QObject *parent=0, const char *name=0)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">aObject::aObject           </td>
          <td>(</td>
          <td class="paramtype">QObject *&nbsp;</td>
          <td class="paramname"> <em>parent</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&nbsp;</td>
          <td class="paramname"> <em>name</em> = <code>0</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Создает абстрактный не связанный с базой данных объект управления данными. Созданный таким образом объект не использует информацию из метаданных о составе и типах полей. То есть он не является какой-либо моделью данных. И на самом деле малопригоден для использования. В дазе данных ни как не отражается создание этого объекта. Для того, что бы зарегистрировать вновь созданный абстрактный объект в базе данных, необходимо сначала проинициализировать его с использованием метаданных, а затем вызвать метод <a class="el" href="classaObject.html#299918a7799222ae7419ac4bcd36bb4f">New()</a>. 
</div>
</div><p>
<a class="anchor" name="fea7f6a4d01d2f061f851ceceb804cb9"></a><!-- doxytag: member="aObject::aObject" ref="fea7f6a4d01d2f061f851ceceb804cb9" args="(const QString &amp;oname, aDatabase *adb, QObject *parent=0, const char *name=0)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">aObject::aObject           </td>
          <td>(</td>
          <td class="paramtype">const QString &amp;&nbsp;</td>
          <td class="paramname"> <em>oname</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classaDatabase.html">aDatabase</a> *&nbsp;</td>
          <td class="paramname"> <em>adb</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">QObject *&nbsp;</td>
          <td class="paramname"> <em>parent</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&nbsp;</td>
          <td class="paramname"> <em>name</em> = <code>0</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Создает объект как модель данных, описанную в метаданных. На описание в метаданных указывает один из передаваемых при вызове параметров - имя элемента метаданных. После успешного создания объекта с ним можно работать как с объектом данных со структурой, описанной в метаданных, и индентифицируемой именем, переданным в параметрах вызова. 
<p>Перекрестные ссылки <a class="el" href="adatabase_8h-source.html#l00115">aDatabase::cfg</a>, <a class="el" href="acfg_8cpp-source.html#l00520">aCfg::find()</a> и <a class="el" href="aobject_8cpp-source.html#l00155">setObject()</a>.</p>

</div>
</div><p>
<a class="anchor" name="e7f6ceb5a6ebc203d9abe99abb540273"></a><!-- doxytag: member="aObject::aObject" ref="e7f6ceb5a6ebc203d9abe99abb540273" args="(aCfgItem context, aDatabase *adb, QObject *parent=0, const char *name=0)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">aObject::aObject           </td>
          <td>(</td>
          <td class="paramtype">aCfgItem&nbsp;</td>
          <td class="paramname"> <em>context</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classaDatabase.html">aDatabase</a> *&nbsp;</td>
          <td class="paramname"> <em>adb</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">QObject *&nbsp;</td>
          <td class="paramname"> <em>parent</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&nbsp;</td>
          <td class="paramname"> <em>name</em> = <code>0</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Create <a class="el" href="classaObject.html" title="Базовый класс для невизуальных классов (моделей...">aObject</a>, inited by md object. <dl compact><dt><b>Аргументы:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>context</em>&nbsp;</td><td>- hi leve md object </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>adb</em>&nbsp;</td><td>- link on object aDataBase used for work </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>parent</em>&nbsp;</td><td>- parent object </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>name</em>&nbsp;</td><td>- name of object </td></tr>
  </table>
</dl>

<p>Перекрестные ссылки <a class="el" href="aobject_8cpp-source.html#l00155">setObject()</a>.</p>

</div>
</div><p>
<a class="anchor" name="5b37e708ff3d150464f665fd33de8c61"></a><!-- doxytag: member="aObject::~aObject" ref="5b37e708ff3d150464f665fd33de8c61" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">aObject::~aObject           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
virtual destructor. 
</div>
</div><p>
<hr><h2>Методы</h2>
<a class="anchor" name="3f4c1c6a69b86b48b23fb4ee0df664e1"></a><!-- doxytag: member="aObject::init" ref="3f4c1c6a69b86b48b23fb4ee0df664e1" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ERR_Code aObject::init           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Tune on metadata object and it's database tables. <dl compact><dt><b>Аргументы:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>adb</em>&nbsp;</td><td>- link on database object </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Возвращает:</b></dt><dd>error code </dd></dl>

<p>Перекрестные ссылки <a class="el" href="aobject_8cpp-source.html#l00170">initObject()</a>.</p>

<p>Используется в <a class="el" href="aobject_8cpp-source.html#l00155">setObject()</a>.</p>

</div>
</div><p>
<a class="anchor" name="0f93cd3a28e072c76fed200328847dc8"></a><!-- doxytag: member="aObject::select" ref="0f93cd3a28e072c76fed200328847dc8" args="(Q_ULLONG id)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ERR_Code aObject::select           </td>
          <td>(</td>
          <td class="paramtype">Q_ULLONG&nbsp;</td>
          <td class="paramname"> <em>id</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Позиционирует указатель в БД на запись, соотвествующую объекту с указанным идентификатором. <dl compact><dt><b>Аргументы:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>id</em>&nbsp;</td><td>- Идентификатор объекта. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Возвращает:</b></dt><dd>возвращает код ошибки или 0 в случае успеха. </dd></dl>

<p>Переопределяется в <a class="el" href="classaDocument.html#d04930b3678fb814aca693266d8b4a73">aDocument</a>.</p>

<p>Перекрестные ссылки <a class="el" href="acfg_8cpp-source.html#l00520">aCfg::find()</a>, <a class="el" href="asqltable_8cpp-source.html#l01009">aDataTable::first()</a>, <a class="el" href="asqltable_8cpp-source.html#l00316">aDataTable::getMdObjId()</a>, <a class="el" href="asqltable_8cpp-source.html#l00570">aDataTable::select()</a>, <a class="el" href="aobject_8cpp-source.html#l00155">setObject()</a>, <a class="el" href="aobject_8cpp-source.html#l00211">table()</a> и <a class="el" href="adatabase_8cpp-source.html#l00583">aDatabase::uidType()</a>.</p>

<p>Используется в <a class="el" href="adocjournal_8cpp-source.html#l00564">aDocJournal::findDoc()</a>, <a class="el" href="airegister_8cpp-source.html#l00279">aIRegister::New()</a>, <a class="el" href="aaregister_8cpp-source.html#l00176">aARegister::New()</a>, <a class="el" href="awidget_8cpp-source.html#l00665">aWidget::Select()</a>, <a class="el" href="adocument_8cpp-source.html#l01391">aDocument::select()</a>, <a class="el" href="acatalogue_8cpp-source.html#l01200">aCatGroup::Select()</a>, <a class="el" href="aform_8cpp-source.html#l01722">aForm::SelectByCurrent()</a>, <a class="el" href="acatalogue_8cpp-source.html#l01222">aCatGroup::SelectChild()</a>, <a class="el" href="acatalogue_8cpp-source.html#l00632">aCatalogue::setMarkDeletedElement()</a> и <a class="el" href="acatalogue_8cpp-source.html#l01249">aCatGroup::SetParent()</a>.</p>

</div>
</div><p>
<a class="anchor" name="5c6dce84b613af7fd01d5aad409d5c38"></a><!-- doxytag: member="aObject::table" ref="5c6dce84b613af7fd01d5aad409d5c38" args="(const QString &amp;name=&quot;&quot;)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classaDataTable.html">aDataTable</a> * aObject::table           </td>
          <td>(</td>
          <td class="paramtype">const QString &amp;&nbsp;</td>
          <td class="paramname"> <em>name</em> = <code>&quot;&quot;</code>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Return the table of object by it's name. /param name - name of table for main table use name="" or empty parametr /return link on <a class="el" href="classaDataTable.html" title="Определяет программный интерфейс модели данных...">aDataTable</a> or 0 if table not found 
<p>Перекрестные ссылки <a class="el" href="alog_8cpp-source.html#l00058">aLog::print()</a>.</p>

<p>Используется в <a class="el" href="arole_8cpp-source.html#l00192">aRole::addPermission()</a>, <a class="el" href="auser_8cpp-source.html#l00209">aUser::addRole()</a>, <a class="el" href="aobject_8cpp-source.html#l00546">Copy()</a>, <a class="el" href="adocument_8cpp-source.html#l00938">aDocument::Copy()</a>, <a class="el" href="acatalogue_8cpp-source.html#l00659">aCatalogue::delElement()</a>, <a class="el" href="auser_8cpp-source.html#l00323">aUser::Delete()</a>, <a class="el" href="arole_8cpp-source.html#l00375">aRole::Delete()</a>, <a class="el" href="aobject_8cpp-source.html#l00563">Delete()</a>, <a class="el" href="acatalogue_8cpp-source.html#l00251">aCatalogue::Delete()</a>, <a class="el" href="adocjournal_8cpp-source.html#l00241">aDocJournal::deleteDocument()</a>, <a class="el" href="aaregister_8cpp-source.html#l00235">aARegister::deleteDocument()</a>, <a class="el" href="acatalogue_8cpp-source.html#l00760">aCatalogue::delGroup()</a>, <a class="el" href="auser_8cpp-source.html#l00235">aUser::delRole()</a>, <a class="el" href="adocjournal_8cpp-source.html#l00170">aDocJournal::docId()</a>, <a class="el" href="acatalogue_8cpp-source.html#l01032">aCatalogue::FindById()</a>, <a class="el" href="adocjournal_8cpp-source.html#l00564">aDocJournal::findDoc()</a>, <a class="el" href="adocjournal_8cpp-source.html#l00528">aDocJournal::findDocument()</a>, <a class="el" href="adocjournal_8cpp-source.html#l00406">aDocJournal::getDate()</a>, <a class="el" href="airegister_8cpp-source.html#l00199">aIRegister::GetDocument()</a>, <a class="el" href="acatalogue_8cpp-source.html#l00694">aCatalogue::getMarkDeletedList()</a>, <a class="el" href="adocjournal_8cpp-source.html#l00426">aDocJournal::getNumber()</a>, <a class="el" href="aaregister_8cpp-source.html#l00320">aARegister::getSaldo()</a>, <a class="el" href="aaregister_8cpp-source.html#l00369">aARegister::getSaldoByManyDimensions()</a>, <a class="el" href="adocjournal_8cpp-source.html#l00445">aDocJournal::getSerialNumber()</a>, <a class="el" href="adocument_8cpp-source.html#l00896">aDocument::getTable()</a>, <a class="el" href="auser_8cpp-source.html#l00119">aUser::getUserId()</a>, <a class="el" href="acatalogue_8cpp-source.html#l00359">aCatalogue::GroupSelect()</a>, <a class="el" href="arole_8cpp-source.html#l00249">aRole::hasPermission()</a>, <a class="el" href="auser_8cpp-source.html#l00264">aUser::hasRole()</a>, <a class="el" href="acatalogue_8cpp-source.html#l00511">aCatalogue::idGroupByElement()</a>, <a class="el" href="aaregister_8cpp-source.html#l00111">aARegister::initObject()</a>, <a class="el" href="auser_8cpp-source.html#l00288">aUser::New()</a>, <a class="el" href="arole_8cpp-source.html#l00345">aRole::New()</a>, <a class="el" href="aobject_8cpp-source.html#l00496">New()</a>, <a class="el" href="airegister_8cpp-source.html#l00279">aIRegister::New()</a>, <a class="el" href="adocument_8cpp-source.html#l00313">aDocument::New()</a>, <a class="el" href="adocjournal_8cpp-source.html#l00285">aDocJournal::New()</a>, <a class="el" href="acatalogue_8cpp-source.html#l00211">aCatalogue::New()</a>, <a class="el" href="aaregister_8cpp-source.html#l00176">aARegister::New()</a>, <a class="el" href="acatalogue_8cpp-source.html#l00597">aCatalogue::newElement()</a>, <a class="el" href="acatalogue_8cpp-source.html#l00558">aCatalogue::newGroup()</a>, <a class="el" href="adocument_8cpp-source.html#l01434">aDocument::Seek()</a>, <a class="el" href="auser_8cpp-source.html#l00158">aUser::Select()</a>, <a class="el" href="arole_8cpp-source.html#l00137">aRole::Select()</a>, <a class="el" href="aobject_8cpp-source.html#l00693">select()</a>, <a class="el" href="airegister_8cpp-source.html#l00427">aIRegister::Select()</a>, <a class="el" href="adocument_8cpp-source.html#l00761">aDocument::Select()</a>, <a class="el" href="adocjournal_8cpp-source.html#l00644">aDocJournal::Select()</a>, <a class="el" href="acatalogue_8cpp-source.html#l00325">aCatalogue::Select()</a>, <a class="el" href="airegister_8cpp-source.html#l00467">aIRegister::SelectByDoc()</a>, <a class="el" href="adocjournal_8cpp-source.html#l00342">aDocJournal::selectDocument()</a>, <a class="el" href="adocjournal_8cpp-source.html#l00466">aDocJournal::setDate()</a>, <a class="el" href="acatalogue_8cpp-source.html#l00632">aCatalogue::setMarkDeletedElement()</a>, <a class="el" href="adocjournal_8cpp-source.html#l00492">aDocJournal::setNumber()</a>, <a class="el" href="acatalogue_8cpp-source.html#l01249">aCatGroup::SetParent()</a>, <a class="el" href="aobject_8cpp-source.html#l00334">setSysValue()</a>, <a class="el" href="aobject_8cpp-source.html#l00760">setTValue()</a>, <a class="el" href="aobject_8cpp-source.html#l00371">SetValue()</a>, <a class="el" href="aextsql_8cpp-source.html#l00349">aExtSQL::SqlFieldName()</a>, <a class="el" href="aextsql_8cpp-source.html#l00397">aExtSQL::SqlTableName()</a>, <a class="el" href="aobject_8cpp-source.html#l00316">sysValue()</a>, <a class="el" href="adocument_8cpp-source.html#l00465">aDocument::TableDelete()</a>, <a class="el" href="adocument_8cpp-source.html#l01140">aDocument::TableFirst()</a>, <a class="el" href="adocument_8cpp-source.html#l01164">aDocument::TableLast()</a>, <a class="el" href="adocument_8cpp-source.html#l00369">aDocument::TableNewLine()</a>, <a class="el" href="adocument_8cpp-source.html#l01092">aDocument::TableNext()</a>, <a class="el" href="adocument_8cpp-source.html#l01116">aDocument::TablePrev()</a>, <a class="el" href="aobject_8cpp-source.html#l01050">TableUpdate()</a>, <a class="el" href="adocument_8cpp-source.html#l00263">aDocument::TableValue()</a>, <a class="el" href="aobject_8cpp-source.html#l00746">tValue()</a>, <a class="el" href="aaregister_8cpp-source.html#l00211">aARegister::Update()</a> и <a class="el" href="aobject_8cpp-source.html#l00351">Value()</a>.</p>

</div>
</div><p>
<a class="anchor" name="3b26cb66b2c22370e9c9b1f7b7142bcd"></a><!-- doxytag: member="aObject::docId" ref="3b26cb66b2c22370e9c9b1f7b7142bcd" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Q_ULLONG aObject::docId           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Возвращает id документа в базе данных. Всегда возвращает 0. Предназначена для совместимости и работы в <a class="el" href="classwJournal.html" title="Визуальный объект - контейнер для работы с Журналами...">wJournal</a>.<p>
<dl class="return" compact><dt><b>Возвращает:</b></dt><dd>0. </dd></dl>

<p>Переопределяется в <a class="el" href="classaDocJournal.html#00bd02a3c3f5591dc57311cf84e0707a">aDocJournal</a>.</p>

</div>
</div><p>
<a class="anchor" name="9298f573f8823da8eed49a40a1c2854d"></a><!-- doxytag: member="aObject::Uid" ref="9298f573f8823da8eed49a40a1c2854d" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QString aObject::Uid           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual, slot]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Возвращает уникальный идентификатор объекта из базы данных. В качестве объекта например может выступать "Приходная накладная" от такого-то числа за таким то номером. Каждый вновь созданный в системе документ или элемент справочника, включая группы справочника имеет свой уникальный неповторяющийся идентификатор. Если какое-либо поле, какого-либо объекта имеет тип Объект (например Document.Накладная), то в качестве значения ему нужно задавать уникальный идентификатор объекта, возвращаемый функцией <a class="el" href="classaObject.html#9298f573f8823da8eed49a40a1c2854d">Uid()</a>. Не существует возможности изменить существующий идентификатор какого-либо объекта. Созданием и управлением идентификаторами объектов занимается система. <dl class="return" compact><dt><b>Возвращает:</b></dt><dd>строка со значением уникального идентификатора. </dd></dl>

<p>Используется в <a class="el" href="adocument_8cpp-source.html#l00938">aDocument::Copy()</a>, <a class="el" href="adocjournal_8cpp-source.html#l00241">aDocJournal::deleteDocument()</a> и <a class="el" href="adocument_8cpp-source.html#l00313">aDocument::New()</a>.</p>

</div>
</div><p>
<a class="anchor" name="d5c2fb2ee16dc6218e8c88a6512a3344"></a><!-- doxytag: member="aObject::IsSelected" ref="d5c2fb2ee16dc6218e8c88a6512a3344" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool aObject::IsSelected           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual, slot]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Check object selecting. <dl class="return" compact><dt><b>Возвращает:</b></dt><dd>true if object record selected in database. </dd></dl>

</div>
</div><p>
<a class="anchor" name="299918a7799222ae7419ac4bcd36bb4f"></a><!-- doxytag: member="aObject::New" ref="299918a7799222ae7419ac4bcd36bb4f" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int aObject::New           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual, slot]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Add new object record in database. 
<p>Переопределяется в <a class="el" href="classaARegister.html#b8f37888c1ea2f8957b5fd8e8fc9a93a">aARegister</a>, <a class="el" href="classaCatalogue.html#5d7e4826a636985971a839b78a922f01">aCatalogue</a>, <a class="el" href="classaCatGroup.html#e3b6d2624e8ef0c238301411912f719a">aCatGroup</a>, <a class="el" href="classaDocument.html#1bc99692acef1e338f7c4e49ac2fee71">aDocument</a> и <a class="el" href="classaIRegister.html#fd7f97691de29e904b57a5749c716b50">aIRegister</a>.</p>

<p>Перекрестные ссылки <a class="el" href="asqltable_8cpp-source.html#l01028">aDataTable::New()</a> и <a class="el" href="aobject_8cpp-source.html#l00211">table()</a>.</p>

<p>Используется в <a class="el" href="awidget_8cpp-source.html#l00642">aWidget::New()</a>, <a class="el" href="airegister_8cpp-source.html#l00279">aIRegister::New()</a>, <a class="el" href="adocument_8cpp-source.html#l00313">aDocument::New()</a>, <a class="el" href="acatalogue_8cpp-source.html#l01167">aCatGroup::New()</a>, <a class="el" href="acatalogue_8cpp-source.html#l00211">aCatalogue::New()</a> и <a class="el" href="aaregister_8cpp-source.html#l00176">aARegister::New()</a>.</p>

</div>
</div><p>
<a class="anchor" name="c08ed5f5f539967fe21cb2dc6f7b48db"></a><!-- doxytag: member="aObject::Copy" ref="c08ed5f5f539967fe21cb2dc6f7b48db" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int aObject::Copy           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual, slot]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Создает новый объект, являющийся клоном текущего объекта. 
<p>
Copy current selected object data in database.<p>
<dl class="return" compact><dt><b>Возвращает:</b></dt><dd>err_copyerror в случае возникновения ошибки или err_noerror в случае успешного выполнения. </dd></dl>

<p>Переопределяется в <a class="el" href="classaCatalogue.html#65df54ef5904621c48807d79af270946">aCatalogue</a> и <a class="el" href="classaDocument.html#2f14b194496547387be71eb2af541a51">aDocument</a>.</p>

<p>Перекрестные ссылки <a class="el" href="asqltable_8cpp-source.html#l01064">aDataTable::Copy()</a> и <a class="el" href="aobject_8cpp-source.html#l00211">table()</a>.</p>

<p>Используется в <a class="el" href="adocument_8cpp-source.html#l00938">aDocument::Copy()</a> и <a class="el" href="acatalogue_8cpp-source.html#l00309">aCatalogue::Copy()</a>.</p>

</div>
</div><p>
<a class="anchor" name="46fd9cb3cf20e9f5ad9213e750a56798"></a><!-- doxytag: member="aObject::Conduct" ref="46fd9cb3cf20e9f5ad9213e750a56798" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int aObject::Conduct           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual, slot]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Проводит документ. Ничего не делает. Предназначена для совместимости и работы в <a class="el" href="classwDocument.html" title="Визуальный объект - контейнер для работы с документами...">wDocument</a>.<p>
<dl class="return" compact><dt><b>Возвращает:</b></dt><dd>код ошибки - абстрактный обект. </dd></dl>

<p>Переопределяется в <a class="el" href="classaDocument.html#bd9506829159372b2821eef67d4dde9b">aDocument</a>.</p>

<p>Используется в <a class="el" href="wdocument_8cpp-source.html#l00313">wDocument::TurnOn()</a>.</p>

</div>
</div><p>
<a class="anchor" name="c1baa42b22e61e7ce6e0b6dce7e906de"></a><!-- doxytag: member="aObject::UnConduct" ref="c1baa42b22e61e7ce6e0b6dce7e906de" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int aObject::UnConduct           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual, slot]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Распроводит документ. Ничего не делает. Предназначена для совместимости и работы в <a class="el" href="classwDocument.html" title="Визуальный объект - контейнер для работы с документами...">wDocument</a>.<p>
<dl class="return" compact><dt><b>Возвращает:</b></dt><dd>код ошибки - абстрактный обект. </dd></dl>

<p>Переопределяется в <a class="el" href="classaDocument.html#0281ff0986a1fb35ff0654ff233a70d2">aDocument</a>.</p>

<p>Используется в <a class="el" href="wdocument_8cpp-source.html#l00327">wDocument::TurnOff()</a>.</p>

</div>
</div><p>
<a class="anchor" name="f4de4cdf9da4130d8e272d3460cc9172"></a><!-- doxytag: member="aObject::Kind" ref="f4de4cdf9da4130d8e272d3460cc9172" args="(const QString &amp;name=QString::null)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QString aObject::Kind           </td>
          <td>(</td>
          <td class="paramtype">const QString &amp;&nbsp;</td>
          <td class="paramname"> <em>name</em> = <code>QString::null</code>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual, slot]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Вид объекта, так как он описан в метаданных. 
<p>Перекрестные ссылки <a class="el" href="acfg_8cpp-source.html#l00937">aCfg::objClass()</a>.</p>

</div>
</div><p>
<a class="anchor" name="c01de0a1f73163e50028689b0e43ce75"></a><!-- doxytag: member="aObject::Value" ref="c01de0a1f73163e50028689b0e43ce75" args="(const QString &amp;name, const QString &amp;tableName=&quot;&quot;)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QVariant aObject::Value           </td>
          <td>(</td>
          <td class="paramtype">const QString &amp;&nbsp;</td>
          <td class="paramname"> <em>name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QString &amp;&nbsp;</td>
          <td class="paramname"> <em>tableName</em> = <code>&quot;&quot;</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [virtual, slot]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Return field value of the primary object database table. 
<p>Переопределяется в <a class="el" href="classaDocument.html#d5cbe6d392e728470e79e09e181fb2a9">aDocument</a> и <a class="el" href="classaIRegister.html#6158c864cc4814e27a1e857aece171fe">aIRegister</a>.</p>

<p>Перекрестные ссылки <a class="el" href="aobject_8cpp-source.html#l00316">sysValue()</a>, <a class="el" href="aobject_8cpp-source.html#l00211">table()</a> и <a class="el" href="asqltable_8cpp-source.html#l00414">aDataTable::value()</a>.</p>

<p>Используется в <a class="el" href="acatalogue_8cpp-source.html#l01249">aCatGroup::SetParent()</a>, <a class="el" href="airegister_8cpp-source.html#l00495">aIRegister::Value()</a> и <a class="el" href="adocument_8cpp-source.html#l01508">aDocument::Value()</a>.</p>

</div>
</div><p>
<a class="anchor" name="4509c2507aa3a91da36132437255a5f3"></a><!-- doxytag: member="aObject::SetValue" ref="4509c2507aa3a91da36132437255a5f3" args="(const QString &amp;name, const QVariant &amp;value, const QString &amp;tableName=&quot;&quot;)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int aObject::SetValue           </td>
          <td>(</td>
          <td class="paramtype">const QString &amp;&nbsp;</td>
          <td class="paramname"> <em>name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QVariant &amp;&nbsp;</td>
          <td class="paramname"> <em>value</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QString &amp;&nbsp;</td>
          <td class="paramname"> <em>tableName</em> = <code>&quot;&quot;</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [virtual, slot]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Set field value of the primary object database table. 
<p>Перекрестные ссылки <a class="el" href="aobject_8cpp-source.html#l00334">setSysValue()</a>, <a class="el" href="asqltable_8cpp-source.html#l00508">aDataTable::setValue()</a> и <a class="el" href="aobject_8cpp-source.html#l00211">table()</a>.</p>

<p>Используется в <a class="el" href="awidget_8cpp-source.html#l00689">aWidget::Update()</a>.</p>

</div>
</div><p>
<a class="anchor" name="3a316f24b43fce162529c7b1de9ba786"></a><!-- doxytag: member="aObject::sysValue" ref="3a316f24b43fce162529c7b1de9ba786" args="(const QString &amp;name, const QString &amp;tableName=&quot;&quot;)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QVariant aObject::sysValue           </td>
          <td>(</td>
          <td class="paramtype">const QString &amp;&nbsp;</td>
          <td class="paramname"> <em>name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QString &amp;&nbsp;</td>
          <td class="paramname"> <em>tableName</em> = <code>&quot;&quot;</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [virtual, slot]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Gets system field value. <dl compact><dt><b>Аргументы:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>name</em>&nbsp;</td><td>(in) - field name. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Возвращает:</b></dt><dd>field value or QVariant::Invalid if field no exist. </dd></dl>

<p>Переопределяется в <a class="el" href="classaDocument.html#69941fe5bac9fb68dc023126bf033126">aDocument</a>.</p>

<p>Перекрестные ссылки <a class="el" href="asqltable_8cpp-source.html#l00468">aDataTable::sysFieldExists()</a>, <a class="el" href="asqltable_8cpp-source.html#l00479">aDataTable::sysValue()</a> и <a class="el" href="aobject_8cpp-source.html#l00211">table()</a>.</p>

<p>Используется в <a class="el" href="auser_8cpp-source.html#l00209">aUser::addRole()</a>, <a class="el" href="arole_8cpp-source.html#l00279">aRole::addUser()</a>, <a class="el" href="auser_8cpp-source.html#l00235">aUser::delRole()</a>, <a class="el" href="arole_8cpp-source.html#l00299">aRole::delUser()</a>, <a class="el" href="acatalogue_8cpp-source.html#l00694">aCatalogue::getMarkDeletedList()</a>, <a class="el" href="arole_8cpp-source.html#l00108">aRole::GetName()</a>, <a class="el" href="auser_8cpp-source.html#l00087">aUser::getRoles()</a>, <a class="el" href="arole_8cpp-source.html#l00249">aRole::hasPermission()</a>, <a class="el" href="auser_8cpp-source.html#l00264">aUser::hasRole()</a>, <a class="el" href="arole_8cpp-source.html#l00319">aRole::hasUser()</a>, <a class="el" href="acatalogue_8cpp-source.html#l00511">aCatalogue::idGroupByElement()</a>, <a class="el" href="engine_8cpp-source.html#l00601">aEngine::OpenForm()</a> и <a class="el" href="aobject_8cpp-source.html#l00351">Value()</a>.</p>

</div>
</div><p>
<a class="anchor" name="0e973d8a5a9f9cf0d80dddf5368e2d04"></a><!-- doxytag: member="aObject::setSysValue" ref="0e973d8a5a9f9cf0d80dddf5368e2d04" args="(const QString &amp;name, QVariant value, const QString &amp;tableName=&quot;&quot;)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int aObject::setSysValue           </td>
          <td>(</td>
          <td class="paramtype">const QString &amp;&nbsp;</td>
          <td class="paramname"> <em>name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">QVariant&nbsp;</td>
          <td class="paramname"> <em>value</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QString &amp;&nbsp;</td>
          <td class="paramname"> <em>tableName</em> = <code>&quot;&quot;</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [virtual, slot]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Sets system field value. <dl compact><dt><b>Аргументы:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>name</em>&nbsp;</td><td>(in) - field name. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>value</em>&nbsp;</td><td>(in) - sets value. </td></tr>
  </table>
</dl>

<p>Переопределяется в <a class="el" href="classaDocument.html#3b1ca05b2ad68542919d547aa55cb924">aDocument</a>.</p>

<p>Перекрестные ссылки <a class="el" href="asqltable_8cpp-source.html#l00491">aDataTable::setSysValue()</a> и <a class="el" href="aobject_8cpp-source.html#l00211">table()</a>.</p>

<p>Используется в <a class="el" href="arole_8cpp-source.html#l00091">aRole::SetName()</a> и <a class="el" href="aobject_8cpp-source.html#l00371">SetValue()</a>.</p>

</div>
</div><p>
<a class="anchor" name="431d20030b023364b2c52d8e9140f8b2"></a><!-- doxytag: member="aObject::TableUpdate" ref="431d20030b023364b2c52d8e9140f8b2" args="(const QString &amp;tablename)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int aObject::TableUpdate           </td>
          <td>(</td>
          <td class="paramtype">const QString &amp;&nbsp;</td>
          <td class="paramname"> <em>tablename</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual, slot]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Обновляет базу данных данными табличной части объекта. Обычно вызывается после метода TableSetValue. <dl compact><dt><b>Аргументы:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>tablename</em>&nbsp;</td><td>- имя таблицы. Необходим для указания имени, так как в объекте возможно наличие нескольких табличных частей. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Возвращает:</b></dt><dd>возвращает код ошибки или 0 в случае успеха. </dd></dl>

<p>Переопределяется в <a class="el" href="classaDocument.html#157d7881517a9ae949a3b0fddc9a330e">aDocument</a>.</p>

<p>Перекрестные ссылки <a class="el" href="alog_8cpp-source.html#l00058">aLog::print()</a>, <a class="el" href="aobject_8cpp-source.html#l00211">table()</a> и <a class="el" href="asqltable_8cpp-source.html#l01100">aDataTable::Update()</a>.</p>

<p>Используется в <a class="el" href="adocument_8cpp-source.html#l00596">aDocument::TableUpdate()</a>, <a class="el" href="auser_8cpp-source.html#l00142">aUser::Update()</a>, <a class="el" href="acatalogue_8cpp-source.html#l00275">aCatalogue::Update()</a> и <a class="el" href="auser_8cpp-source.html#l00348">aUser::UpdateRole()</a>.</p>

</div>
</div><p>
<a class="anchor" name="9124d3a16057a4a5430dad828cdcb1f0"></a><!-- doxytag: member="aObject::setObject" ref="9124d3a16057a4a5430dad828cdcb1f0" args="(aCfgItem newobject)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ERR_Code aObject::setObject           </td>
          <td>(</td>
          <td class="paramtype">aCfgItem&nbsp;</td>
          <td class="paramname"> <em>newobject</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Set new object type after create /param newobject - new md object <dl class="return" compact><dt><b>Возвращает:</b></dt><dd>error code </dd></dl>

<p>Перекрестные ссылки <a class="el" href="aobject_8cpp-source.html#l00141">init()</a>.</p>

<p>Используется в <a class="el" href="aobject_8cpp-source.html#l00089">aObject()</a> и <a class="el" href="aobject_8cpp-source.html#l00693">select()</a>.</p>

</div>
</div><p>
<a class="anchor" name="91acddea9d225d16d9fc384769971922"></a><!-- doxytag: member="aObject::initObject" ref="91acddea9d225d16d9fc384769971922" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ERR_Code aObject::initObject           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Init object after create. Need setObject( id ), where id - if of the metadata object of the adb-&gt;cfg loaded Configuration. <dl class="return" compact><dt><b>Возвращает:</b></dt><dd>error code </dd></dl>

<p>Переопределяется в <a class="el" href="classaARegister.html#6d53f11256cedc1dabea57ef788086cb">aARegister</a>, <a class="el" href="classaCatalogue.html#f9e748d359271e8aa8312aa0f153d0db">aCatalogue</a>, <a class="el" href="classaCatGroup.html#c50e24309e5a6d38870d5b8833bfac85">aCatGroup</a>, <a class="el" href="classaDocJournal.html#8c6dbc8909dd256d0ef5b8f0c237ef98">aDocJournal</a>, <a class="el" href="classaDocument.html#77cb56daa91328661e8b143b923d3e6b">aDocument</a>, <a class="el" href="classaIRegister.html#858eb4881cbdf4a375aff4a400e8b731">aIRegister</a>, <a class="el" href="classaReport.html#1019965b743708cbbf990ec8637d20b6">aReport</a>, <a class="el" href="classaRole.html#9094d7f6c65338665a15f448b6fea8c0">aRole</a> и <a class="el" href="classaUser.html#94d031e7e89af38208ffe98e00fe3f51">aUser</a>.</p>

<p>Перекрестные ссылки <a class="el" href="adatabase_8h-source.html#l00115">aDatabase::cfg</a> и <a class="el" href="alog_8cpp-source.html#l00058">aLog::print()</a>.</p>

<p>Используется в <a class="el" href="aobject_8cpp-source.html#l00141">init()</a>, <a class="el" href="auser_8cpp-source.html#l00067">aUser::initObject()</a>, <a class="el" href="arole_8cpp-source.html#l00069">aRole::initObject()</a>, <a class="el" href="areport_8cpp-source.html#l00313">aReport::initObject()</a>, <a class="el" href="airegister_8cpp-source.html#l00114">aIRegister::initObject()</a>, <a class="el" href="adocument_8cpp-source.html#l00155">aDocument::initObject()</a>, <a class="el" href="acatalogue_8cpp-source.html#l01130">aCatGroup::initObject()</a> и <a class="el" href="acatalogue_8cpp-source.html#l00073">aCatalogue::initObject()</a>.</p>

</div>
</div><p>
<a class="anchor" name="39bf21de3669fa6481448959ad402759"></a><!-- doxytag: member="aObject::tableInsert" ref="39bf21de3669fa6481448959ad402759" args="(const QString &amp;dbname, aCfgItem obj, const QString &amp;name=&quot;&quot;)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ERR_Code aObject::tableInsert           </td>
          <td>(</td>
          <td class="paramtype">const QString &amp;&nbsp;</td>
          <td class="paramname"> <em>dbname</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">aCfgItem&nbsp;</td>
          <td class="paramname"> <em>obj</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QString &amp;&nbsp;</td>
          <td class="paramname"> <em>name</em> = <code>&quot;&quot;</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Insert table name and it link into internal buffer. used for finding table by it's md name or some default name /param dbname - database name of table /param obj - md object, used for <a class="el" href="classaDataTable.html" title="Определяет программный интерфейс модели данных...">aDataTable</a> initing /param name - name of table, used for finding table in buffer /return error code 
<p>Перекрестные ссылки <a class="el" href="alog_8cpp-source.html#l00058">aLog::print()</a>, <a class="el" href="asqltable_8cpp-source.html#l00152">aDataTable::setObject()</a> и <a class="el" href="adatabase_8cpp-source.html#l00416">aDatabase::table()</a>.</p>

<p>Используется в <a class="el" href="auser_8cpp-source.html#l00067">aUser::initObject()</a>, <a class="el" href="arole_8cpp-source.html#l00069">aRole::initObject()</a>, <a class="el" href="airegister_8cpp-source.html#l00114">aIRegister::initObject()</a>, <a class="el" href="adocument_8cpp-source.html#l00155">aDocument::initObject()</a>, <a class="el" href="adocjournal_8cpp-source.html#l00107">aDocJournal::initObject()</a>, <a class="el" href="acatalogue_8cpp-source.html#l01130">aCatGroup::initObject()</a>, <a class="el" href="acatalogue_8cpp-source.html#l00073">aCatalogue::initObject()</a> и <a class="el" href="aaregister_8cpp-source.html#l00111">aARegister::initObject()</a>.</p>

</div>
</div><p>
<a class="anchor" name="d4747af1afab557e9833e1ccf4bd9700"></a><!-- doxytag: member="aObject::tableInsert" ref="d4747af1afab557e9833e1ccf4bd9700" args="(const QString &amp;dbname, const QString &amp;name=&quot;&quot;)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ERR_Code aObject::tableInsert           </td>
          <td>(</td>
          <td class="paramtype">const QString &amp;&nbsp;</td>
          <td class="paramname"> <em>dbname</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QString &amp;&nbsp;</td>
          <td class="paramname"> <em>name</em> = <code>&quot;&quot;</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Insert table name and it link into internal buffer. used for finding table by it's md name or some default name table not inited by md object /param dbname - database name of table /param name - name of table, used for finding table in buffer /return error code 
<p>Перекрестные ссылки <a class="el" href="alog_8cpp-source.html#l00058">aLog::print()</a> и <a class="el" href="adatabase_8cpp-source.html#l00416">aDatabase::table()</a>.</p>

</div>
</div><p>
<a class="anchor" name="84a9d1fdde4acf7fe47bfd06581c6bea"></a><!-- doxytag: member="aObject::tableRemove" ref="84a9d1fdde4acf7fe47bfd06581c6bea" args="(const QString &amp;name=&quot;&quot;)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ERR_Code aObject::tableRemove           </td>
          <td>(</td>
          <td class="paramtype">const QString &amp;&nbsp;</td>
          <td class="paramname"> <em>name</em> = <code>&quot;&quot;</code>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Remove table from buffer. /param name - table name /return err_notable if table not found 
<p>Перекрестные ссылки <a class="el" href="alog_8cpp-source.html#l00058">aLog::print()</a>.</p>

</div>
</div><p>
<a class="anchor" name="40b9704b548247e7800ef016b1ee938b"></a><!-- doxytag: member="aObject::tValue" ref="40b9704b548247e7800ef016b1ee938b" args="(const QString &amp;tablename, const QString &amp;name)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QVariant aObject::tValue           </td>
          <td>(</td>
          <td class="paramtype">const QString &amp;&nbsp;</td>
          <td class="paramname"> <em>tablename</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QString &amp;&nbsp;</td>
          <td class="paramname"> <em>name</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Return field value of the secondary object database table. 
<p>Перекрестные ссылки <a class="el" href="aobject_8cpp-source.html#l00211">table()</a> и <a class="el" href="asqltable_8cpp-source.html#l00414">aDataTable::value()</a>.</p>

<p>Используется в <a class="el" href="adocument_8cpp-source.html#l00263">aDocument::TableValue()</a>.</p>

</div>
</div><p>
<a class="anchor" name="8f8fb028fe53a216ea12d362e0cda3de"></a><!-- doxytag: member="aObject::setTValue" ref="8f8fb028fe53a216ea12d362e0cda3de" args="(const QString &amp;tablename, const QString &amp;name, const QVariant &amp;value)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ERR_Code aObject::setTValue           </td>
          <td>(</td>
          <td class="paramtype">const QString &amp;&nbsp;</td>
          <td class="paramname"> <em>tablename</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QString &amp;&nbsp;</td>
          <td class="paramname"> <em>name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QVariant &amp;&nbsp;</td>
          <td class="paramname"> <em>value</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Set field value of the secondary object database table. 
<p>Перекрестные ссылки <a class="el" href="asqltable_8cpp-source.html#l00508">aDataTable::setValue()</a> и <a class="el" href="aobject_8cpp-source.html#l00211">table()</a>.</p>

<p>Используется в <a class="el" href="adocument_8cpp-source.html#l00289">aDocument::TableSetValue()</a>.</p>

</div>
</div><p>
<hr>Объявления и описания членов классов находятся в файлах:<ul>
<li><a class="el" href="aobject_8h-source.html">aobject.h</a><li>aobject.cpp</ul>
</div>
<hr size="1"><address style="text-align: right;"><small>Документация по Ananas Library. Последние изменения: Sun Feb 1 21:47:15 2009. Создано системой&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
</body>
</html>
